package tau.pimpmyfreedb.common.types;

import tau.pimpmyfreedb.dal.DataType;

/**
 * represent a user of PimpMyFreeDB. strongly connected to a single Facebook
 * user by the fbToken data member.
 */
public class User extends DataItemBase {
    private String fbToken;

    public User(int id, String name, String fbToken) {
	super(id, name);
	this.fbToken = fbToken;
    }

    public String getFbToken() {
	return fbToken;
    }

    @Override
    public DataType getDataType() {
	return DataType.PIMP_USER;
    }
}
